package cmfg;

public class GridDataDaoImpl implements NetDataDao {

	private double[] netData;
	private int gridLength=50;//netData[0]
	private int gridWidth=50;//netData[1]

	@Override
	public double[] getNetData() {

		return netData;
	}

	@Override
	public void setNetData(double[] netData) {

		this.netData = netData;
		gridLength = (int) netData[0];
		gridWidth = (int) netData[1];

	}

	public int getgridLength() {
		return gridLength;
	}


	public int getgridWidth() {
		return gridWidth;
	}

}
